#pragma once

#include "Animation.h"

// walking animation settings
#define M_PATH "CircusCharlieSheet1.png"
#define M_SRC_X 78
#define M_SRC_Y 106
#define M_SRC_W 17
#define M_SRC_H 16
#define M_SRC_OFFSET 3
#define M_FRAMES 3
#define M_WIDTH 38
#define M_HEIGHT 42

// general animation settings
#define M_ANIM_FPS 8
#define M_ANIM_LOOP true
#define M_ANIM_HORZ true

// gameplay
#define M_SPEED 100
#define M_COLLIDER_OFFSET 5

class Monkey: public Animation {
private: 
	void Move(float  dt);
protected:
	bool isBlueMonkey;
	bool ptsThisJump;
	float speed;
public:
	Monkey();
	Monkey(int x, int y);
	virtual ~Monkey();
	virtual void Update(float dt);
	void Reset(int x, int y);

	bool GetIsBlue() { return isBlueMonkey; }
	bool GetPtsThisJump() { return ptsThisJump; }

	void SetPtsThisJump(bool isCount) { ptsThisJump = isCount; }
};
